using SheLife.Domain.Entities;

namespace SheLife.Application.Interfaces;

public interface IHabitService
{
    Task<Habit?> GetHabitByIdAsync(int id);
    Task<IEnumerable<Habit>> GetHabitsByUserIdAsync(int userId);
    Task<IEnumerable<Habit>> GetHabitsByUserIdAndCategoryAsync(int userId, string category);
    Task<IEnumerable<Habit>> GetActiveHabitsByUserIdAsync(int userId);
    Task<Habit> CreateHabitAsync(Habit habit);
    Task<Habit> UpdateHabitAsync(Habit habit);
    Task<bool> DeleteHabitAsync(int id);
}